<!DOCTYPE HTML>
<html>
<head>
<meta charset="{$_K['charset']}">
<title>{$page_title}</title>
<meta name="keywords" content="{$page_keyword}">
<meta name="description" content="{$page_description}">
<meta name="generator" content="{$_lang['keke_pub']} {KEKE_VERSION}" />
<meta name="author" content="kekezu" />
<meta name="copyright" content="{$basic_config['copyright']}" />
<link rel="shortcut icon" href="favicon.ico" />
<link rel="apple-touch-icon" href="favicon.ico"/>
<script type="text/javascript">
	var SITEURL= "{$_K['siteurl']}";
	var SKIN_PATH = '{SKIN_PATH}';
	var LANG       = '{$language}';
	var INDEX      = '{$do}';
	var CHARSET    = "{$_K['charset']}";
</script>
<link href="resource/css/reset.css" rel="stylesheet">
<!--公用样式-->
<link href="resource/css/base.css" rel="stylesheet">
<!--box样式-->
<link href="resource/css/box.css" rel="stylesheet">
<!--布局样式-->
<link href="resource/css/layout/960.min.css" rel="stylesheet">
<link href="resource/css/animate.css" rel="stylesheet">
<link href="{SKIN_PATH}/css/common.css" rel="stylesheet">
<link href="{SKIN_PATH}/theme/{$_K['theme']}/css/{$_K['theme']}_style.css" rel="stylesheet">
<link href="resource/js/jqplugins/tipsy/tipsy.css" rel="stylesheet">
<link href="{SKIN_PATH}/theme/{$_K['theme']}/css/button/stylesheets/css3buttons.css" rel="stylesheet">
<!--[if lt IE 9]>
	<script src="resource/js/system/html5.js" type="text/javascript"></script>
<![endif]-->
<!--jQuery1.4.4库-->
<script src="resource/js/jquery.js" type="text/javascript"></script>
<script src="lang/{$language}/script/lang.js" type="text/javascript"></script>
<script src="resource/js/system/keke.js" type="text/javascript"></script>
<script src="resource/js/in.js" type="text/javascript"></script>
<script type="text/javascript">
	 //js异步加载预定义
 	In.add('mouseDelay',{path:"resource/js/jqplugins/jQuery.mouseDelay.js",type:'js'});
	In.add('waypoints',{path:"resource/js/jqplugins/waypoints/waypoints.min.js",type:'js'});
	In.add('custom',{path:"resource/js/system/custom.js",type:'js',rely:['waypoints']});
 	In.add('form',{path:"resource/js/system/form_and_validation.js",type:'js'});
	In.add('print',{path:"resource/js/jqplugins/jquery.print.js",type:'js'});
	In.add('task',{path:"resource/js/system/task.js",type:'js'});
 	In.add('calendar',{path:"resource/js/system/script_calendar.js",type:'js'}); 
	In.add('xheditor',{path:"resource/js/xheditor/xheditor.js",type:'js'});  
 	In.add('script_city',{path:"resource/js/system/script_city.js",type:'js'}); 
	In.add('lavalamp',{path:"resource/js/jqplugins/lavalamp/jquery.lavalamp-1.3.5.min.js",type:'js'});
	In.add('tipsy',{path:"resource/js/jqplugins/tipsy/jquery.tipsy.js",type:'js'});
	In.add('autoIMG',{path:"resource/js/jqplugins/autoimg/jQuery.autoIMG.min.js",type:'js'});
 	In.add('slides',{path:"resource/js/jqplugins/slides.min.jquery.js",type:'js'});
	In.add('ajaxfileupload',{path:"resource/js/system/ajaxfileupload.js",type:'js'});
	In.add('header_top',{path:"resource/js/system/header_top.js",type:'js',rely:['mouseDelay']}); 
	In.add('lazy',{path:"resource/js/system/lazy.js",type:'js'});
	In.add('pcas',{path:"resource/js/system/PCASClass.js",type:'js'});	
</script>
<script src="resource/js/system/common.js" type="text/javascript"></script>
</head>
    <body>
    <!--[if IE 8]><div id="ie8"><![endif]-->
    <!--[if IE 7]><div id="ie7"><![endif]-->
    <!--[if IE 6]><div id="ie6"><![endif]-->
	<div class="{$_K['theme']}_style" id="wrapper">
		
        <div id="append_parent">
        </div>
        <div id="ajaxwaitid">
        	<div>
        	<img src="{SKIN_PATH}/theme/{$_K['theme']}/img/system/loading.gif" alt="loading"/>
			{$_lang['request_processing']}
			</div>
		</div>
	 
		<!--无刷新临时替换层-->
        <div id="noflushwarper">
        	<div id="noflushwarper_sub"></div>
        </div>
 	
		<!--body start-->
		
		
			<!--顶部广告位 start-->
			<div class="t_c site_messages">
			<!--{ad_show(GLOBAL_TOP_BANNER)}-->
			</div>
			<!--顶部广告位-->
			
			
			
			
    <!--头部 start-->
    <header class="header">
        <div class="container_24 clearfix">
        	<!--logo start-->
            <hgroup class="grid_7 logo">
             	 <h1><a href="index.php">
             	 	{if isset($custom_logo)}
					<img src="{$basic_config['web_logo']}"
					{else}
					<img src="{SKIN_PATH}/theme/{$_K['theme']}/img/style/{$basic_config['web_logo']}"
					{/if}
					 title="{$_K['html_title']}" alt="{$_K['html_title']}"></a></h1>
            </hgroup>
            <!--logo end-->
            
            <div class="grid_12">
            	{if $task_open||$shop_open}
            	<!--主搜索 start-->
                <div class="search clearfix po_re">
                    <!--搜索框和选项 start-->
                    <form action="" method="post" id="frm_search" class="clearfix fl_l">
                    <div class="search_box">
                        <div class="fl_l search_selcecter">
                        	<div id="search_select" class="search_options">
                        	{if $task_open}
                           		 <a href="javascript:void(0);" class="selected" rel="task_list"><span>{$_lang['task']}</span>▼</a>
                            {elseif !$task_open&&$shop_open}
								 <a href="javascript:void(0);" class="selected" rel="shop_list"><span>{$_lang['goods']}</span>▼</a>
                            {/if}
							{if $task_open}
						   		 <a href="javascript:void(0);" class="hidden"   rel="task_list">{$_lang['task']}</a>
							{/if}
							{if $shop_open}
                           	 	<a href="javascript:void(0);" class="hidden"   rel="shop_list">{$_lang['goods']}</a>
							 {/if}
                            </div>
                        </div>
						<input type="text" name="search_key" onkeydown="search_keydown(event);" id="search_key" class="fl_l search_input txt_input togg c999"
						 value="{$_lang['input']}{if $task_open}{$_lang['task']}{/if}{if $task_open&&$shop_open}/{/if}{if $shop_open}{$_lang['goods']}{/if}" 
						   x-webkit-speech x-webkit-grammar="bUIltin:search" lang="zh-CN">
                    </div>
					</form>
                    <!--搜索框和选项 end-->
                    <!--搜索提交 start-->
                    <div class="fl_l">
                    	<button class="search_btn" id="search_btn" type="button" onclick="topSearch();"><span class="icon magnifier"></span>{$_lang['search']}</button>
                    </div>
                    <!--搜索提交 end-->
                </div>
                <!--主搜索 end-->
				{else}
				&nbsp;
				{/if}
            </div>
            
            <div class="grid_5">
            	<!--用户登录注册 start-->
            	<div class="user_box clearfix">
                	<!--注册登录按钮 start-->
                  	<ul id="login_sub" class="user_login {if $uid}hidden{/if}">
                        <li><a href="index.php?do=register" >{$_lang['free_register']}</a></li>
                        <li><a id="login" href="index.php?do=login">{$_lang['login']} ▼</a></li>
                    </ul>
                    <!--注册登录按钮 end--> 
					<div class="clear"></div>
		            <!--登录弹出框 start-->
		            <!--注{$_lang['zh_mh']}验证信息请跳转到登录页面去显示-->
		            <div id="login_box" class="login_pop box hidden">
		            	<div id="login_form">
		            		<div class="t_c hidden pad10" id="loading">
								<img src="{SKIN_PATH}/theme/{$_K['theme']}/img/system/loading.gif">
							</div>
		            		<div class="t_c hidden pad10" id="loading_error">
							</div>
							<div id="load">
								<form action="index.php?do=login&login_type=3" method="post">
									<p class="textbox">
										<label for="log_name">{$_lang['user_email_tel']}</label>
										<input type="text" spellcheck="false" autocomplete="off" id="log_name" class="txt_input" value="$log_account" size="18" name="log_name" tabindex="1">
									</p>
									<div class="textbox">
										<div class="clearfix">
											<span class="fl_r"><a href="index.php?do=get_password&get_step=step1" class=" minor">{$_lang['forget_pwd']}</a></span>
											<label for="pwd_password">{$_lang['pwd']}</label>
										</div>
										<input type="password" maxlength="16" autocomplete="off" id="log_password" onkeydown="login_keydown(event);" class="txt_input" size="18" name="log_password" tabindex="2">
									</div>
									<p class="remember clearfix">
										<button type="button" name="login_submit" id="login_submit" tabindex="4" class="fl_r" onclick="ajaxLogin('')">{$_lang['login']}</button>
										<input type="checkbox" id="log_remember" name="autologin" value="1" tabindex="3">
										<label for="log_remember" class="minor">{$_lang['remember_me']}</label>
									</p>
								</form>
			                    <div class="login_other clearfix">
			                    	<span class="fl_l">{$_lang['other_account_login']}</span>
									{loop $api_open $k $v}
										{if $weibo_list[$k.'_app_id']}
											<a href="index.php?do=oauth_login&type={$k}">
												<img src="resource/img/ico/{$k}_t.gif">
											</a>
					                   {/if}			
									{/loop}
			                    </div>
		                    </div>
						</div>
		            </div>
		            <!--登录弹出框 end-->
					
					
					
					
                    <!--登录成功 start-->
                    <div id="logined" class="{if !$uid}hidden{/if}">
                    	<!--用户登录后内容 start-->
                        <ul class="user_logined clearfix">
                            <li id="avatar">
                            	<a href="index.php?do=user&view=index" title="{$username}">
                            		<!--{userpic($uid,'small')}-->
                                    <span class="user_named">{$username}</span>
                            	</a>
								<!--用户登录后导航菜单 start-->
			                    <div id="user_menu" class="user_nav_pop grid_5 alpha omega hidden">
			                        <ul class="nav_list clearfix">
                                    	<li class="clearfix"><a href="index.php?do=user&view=finance&op=detail" title="{$_lang['money']} | {CREDIT_NAME}" id="money"> <div class="icon16 cur-yen reverse"></div>{c:$user_info['balance']}| {c:$user_info['credit']}</a></li>
                                        {if $task_open}
											<li class="clearfix"><a href="index.php?do=release" title="{$_lang['pub_task']}" class="selected" ><div class="icon16 doc-new reverse"></div>{$_lang['pub_task']}</a></li>
										{/if}
										{if $shop_open}
											<li class="clearfix"><a href="index.php?do=shop_release" title="{$_lang['pub_goods']}" class="selected"><div class="icon16 doc-new reverse"></div>{$_lang['pub_goods']}</a></li>
										{/if}
										<li class="clearfix {if $uid ==ADMIN_UID || $user_info['group_id']>0}{else}hidden{/if}" id="manage_center"><a href="control/admin/index.php" title="{$_lang['manage_center']}" ><div class="icon16 key reverse"></div>{$_lang['manage_center']}</a></li>
										<li class="clearfix"><a href="index.php?do=user&view=index" title="{$_lang['user_center']}"><div class="icon16 cog reverse"></div>{$_lang['user_center']}</a></li>
										<li class="clearfix"><a href="<!--{eval echo kekezu::build_space_url($uid);}-->" title="{$_lang['my_space']}" id="space"><div class="icon16 compass reverse"></div>{$_lang['my_space']}</a></li>
										<!--<li class="clearfix"><a href="index.php?do=user&view=message" title="{$_lang['website_msg']}"><div class="icon16 mail reverse"></div>{$_lang['website_msg']}</a></li>-->
										<li class="clearfix"><a onclick="showWindow('out','index.php?do=logout');return false;" title="{$_lang['logout']}" href="index.php?do=logout">{$_lang['logout']}</a></li>
			                         </ul>
			                    </div>
			                    <!--用户登录后导航菜单 end-->
							</li>
                            <li class="line"></li>
                            <li class="logout"><a title="{$_lang['website_msg']}" href="index.php?do=user&view=message">{$_lang['website_msg']}</a></li>
                            <li class="clear"></li>
                        </ul>
                        <!--用户登录后内容 end-->
						
						
                    </div>
                    <!--登录成功 end-->
                    
                    
                    <div class="clear"></div>
                </div>
                <!--用户登录注册 end-->
            </div>
            
            <div class="grid_2 hidden">
            	<!--语言栏 start-->
            	<div class="language">
            		<div class="lan_selcecter">
                      <div id="lan_menu" class="lan_options">
                      <a href="javascript:void(0);" rel="{$language}" class="selected">{$lang_list[$language]}▼</a>
					  {loop $lang_list $k $v}
                     	 <a href="javascript:void(0);" rel="{$k}" class="hidden">{$v}</a>
					  {/loop}
                      </div>
                 	</div>
                </div>
                <!--语言栏 end-->
            </div>
            
            
            
            <div class="clear"></div>
        </div>
    </header>
    <!--头部 end-->